﻿using _2112A_2_MES._wangweihao;
using _2112A_2_MES._XiangHe;
using _2112A_2_MES.SuJiaHaos.Sasles;
using _2112A_2_MES.SuJiaHaos.StockTakings;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Test.WangWeiHao;
using Volo.Abp.Application.Services;

namespace _2112A_2_MES.SuJiaHaos
{
    /// <summary>
    /// 库存盘点记录表服务接口
    /// </summary>
    public interface IStockTakingService : IApplicationService
    {
        /// <summary>
        /// 获取库存盘点记录信息
        /// </summary>
        /// <returns>返回库存盘点记录信息的实体</returns>
        Task<ReturnSelect<object>> GetStockTakingList(int pageSize, int pageIndex);

        /// <summary>
        /// 库存盘点添加
        /// </summary>
        /// <param name="input">库存盘点实体</param>
        /// <returns></returns>
        Task<int> GetCreateStockTaking(CreateStockTakingDTO input);

        /// <summary>
        /// 库存盘点信息删除
        /// </summary>
        /// <param name="id">条件编号</param>
        /// <returns>返回受影响行数</returns>
        Task<int> DeleteStockTaking(int id);

        /// <summary>
        /// 库存盘点反填
        /// </summary>
        /// <param name="id">条件编号</param>
        /// <returns>返回库存盘点信息实体</returns>
        Task<StockTaking> GetStockTaking(int id);

        /// <summary>
        /// 库存盘点信息修改
        /// </summary>
        /// <param name="input">库存盘点实体</param>
        /// <returns>返回受影响行数</returns>
        Task<int> UpdateStockTaking(CreateStockTakingDTO input);
    }
}
